﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VR.Params
{
    public class WordRankParam
    {
        [Required(ErrorMessage = "file_id：课件id不能为空")]
        public int file_id { get; set; }
        [Required(ErrorMessage = "cp_id：关卡id不能为空")]
        public int cp_id { get; set; }
        /// <summary>
        ///  开始时间：yyyyMMddHHmmss
        /// </summary>
        public string start_date { get; set; }
        /// <summary>
        ///  截止时间：yyyyMMddHHmmss
        /// </summary>
        public string end_date { get; set; }
        public int page { get; set; } = 1;
        public int rows { get; set; } = 100;
    }
    public class WordCoreByUser: WordRankParam
    {
        [Required(ErrorMessage = "userid：用户内部编码不能为空")]
        public string userid { get; set; }
    }
    public class WordMydRankParam: VRBaseParam
    {
        [Required(ErrorMessage = "file_id：课件id不能为空")]
        public int file_id { get; set; }
        [Required(ErrorMessage = "cp_id：关卡id不能为空")]
        public int cp_id { get; set; }
        public int user_id { get; set; }
    }
    public class WordMyDetial
    {
        /// <summary>
        ///  主表id
        /// </summary>
        [Required(ErrorMessage = "wh_id：测试主表id不能为空")]
        public int wh_id { get; set; }
    }
}